package com.app.lan.senders;

import java.io.IOException;
import java.io.ObjectOutputStream;

import com.app.lan.Sender;

public class SenderServer<T> extends Sender<T> {

	private ObjectOutputStream stream;
	public SenderServer(ObjectOutputStream stream){
		this.stream = stream;
	}
	@Override
	public void send() throws IOException {
		stream.writeObject(object);
	}

}
